#include "defaultsettings.h"

DefaultSettings::DefaultSettings()
{
    listAll.append(QStringList() << "MAIN" << "GUI_Language" << "en");
    listAll.append(QStringList() << "MAIN" << "GUI_Stylesheet" << "0");
    listAll.append(QStringList() << "MIXER" << "Use_Grouping" << "on");
    listAll.append(QStringList() << "MIXER" << "Show_Hungarian" << "on");
    listAll.append(QStringList() << "MIXER" << "Right_Click_Translate" << "on");
}

QList<QStringList> DefaultSettings::getDefaultSettings(QString category)
{
    if (category == QString("ALL"))
        return listAll;
    QList<QStringList> out;
    foreach (QStringList setting, listAll) {
        if (setting[0] == category)
            out.append(setting);
    }
    return out;
}
